<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.8.0" />

	<title>Class session | pwe-project</title>

	<script type="text/javascript" src="resources/combined.js?682347548"></script>
	<script type="text/javascript" src="elementlist.js?1761807718"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
			<h3>Packages</h3>
			<ul>
				<li><a href="package-API.html">API</a>
						</li>
				<li><a href="package-None.html">None</a>
						</li>
				<li><a href="package-PHP.html">PHP</a>
						</li>
				<li class="active"><a href="package-PWE.html">PWE<span></span></a>
						<ul>
				<li><a href="package-PWE.bdd.html">bdd</a>
						</li>
				<li><a href="package-PWE.controler.html">controler</a>
						</li>
				<li><a href="package-PWE.modele.html">modele<span></span></a>
						<ul>
				<li><a href="package-PWE.modele.menu.html">menu</a>
						</li>
							</ul></li>
				<li><a href="package-PWE.tools.html">tools</a>
						</li>
							</ul></li>
			</ul>
		</div>

		<hr />


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-navigation.html">navigation</a></li>
				<li><a href="class-PWE.html">PWE</a></li>
				<li class="active"><a href="class-session.html">session</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="package-PWE.html" title="Summary of PWE"><span>Package</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
			<li>
				<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
			</li>
			<li>
				<a href="todo.html" title="Todo list"><span>Todo</span></a>
			</li>
		</ul>
		<ul>
			<li>
				<a href="pwe-project-api-documentation.zip" title="Download documentation as ZIP archive"><span>Download</span></a>
			</li>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class session</h1>


	<div class="description">
	
<p>gestion des sessions, variables de session et cookies</p>

	</div>









	<div class="info">
		
		
		
		<b>Package:</b> <a href="package-PWE.html">PWE</a><br />

				<b>Author:</b>
				Gmax &lt;<a
href="mailto:gmaxfr78&#64;gmail.com">gmaxfr78&#64;<!---->gmail.com</a>&gt;<br />
		<b>Located at</b> <a href="source-class-session.html#2-86" title="Go to source code">engine/class/session.class.php</a><br />
	</div>



	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="start" id="_start">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_start">#</a>
		<code><a href="source-class-session.html#11-17" title="Go to source code">start</a>( )</code>

		<div class="description short">
			
<p>demmare ou récupère une session</p>

		</div>

		<div class="description detailed hidden">
			
<p>demmare ou récupère une session</p>








		</div>
		</div></td>
	</tr>
	<tr data-order="getSessionId" id="_getSessionId">

		<td class="attributes"><code>
			 public static
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getSessionId">#</a>
		<code><a href="source-class-session.html#18-24" title="Go to source code">getSessionId</a>( )</code>

		<div class="description short">
			
<p>renvoi l'identifiant de session</p>

		</div>

		<div class="description detailed hidden">
			
<p>renvoi l'identifiant de session</p>




				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="get" id="_get">

		<td class="attributes"><code>
			 public static
			mixed|null
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_get">#</a>
		<code><a href="source-class-session.html#25-36" title="Go to source code">get</a>( <span>string <var>$varName</var></span> )</code>

		<div class="description short">
			
<p>recupère une variable de session $varName</p>

		</div>

		<div class="description detailed hidden">
			
<p>recupère une variable de session $varName</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$varName</var></dt>
					<dd><code>string</code><br>$varName</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>mixed|null</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="set" id="_set">

		<td class="attributes"><code>
			 public static
			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_set">#</a>
		<code><a href="source-class-session.html#37-47" title="Go to source code">set</a>( <span>string <var>$varName</var></span>, <span>mixed <var>$value</var></span> )</code>

		<div class="description short">
			
<p>enregistre une variable de session</p>

		</div>

		<div class="description detailed hidden">
			
<p>enregistre une variable de session</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$varName</var></dt>
					<dd><code>string</code><br>$varName</dd>
					<dt><var>$value</var></dt>
					<dd><code>mixed</code><br>$value</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>boolean</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="delete" id="_delete">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_delete">#</a>
		<code><a href="source-class-session.html#48-54" title="Go to source code">delete</a>( <span>string <var>$varName</var></span> )</code>

		<div class="description short">
			
<p>supprime une variable de session $varName</p>

		</div>

		<div class="description detailed hidden">
			
<p>supprime une variable de session $varName</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$varName</var></dt>
					<dd><code>string</code><br>$varName</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="setCookie" id="_setCookie">

		<td class="attributes"><code>
			 public static
			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setCookie">#</a>
		<code><a href="source-class-session.html#55-71" title="Go to source code">setCookie</a>( <span>string <var>$varName</var></span>, <span>mixed <var>$value</var></span>, <span>integer <var>$time</var></span>, <span>string <var>$path</var> = <span class="php-quote">'/'</span></span>, <span>string <var>$domaine</var> = <span class="php-quote">''</span></span> )</code>

		<div class="description short">
			
<p>enregistre une variable dans un cookie</p>

		</div>

		<div class="description detailed hidden">
			
<p>enregistre une variable dans un cookie</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$varName</var></dt>
					<dd><code>string</code><br>$varName</dd>
					<dt><var>$value</var></dt>
					<dd><code>mixed</code><br>$value</dd>
					<dt><var>$time</var></dt>
					<dd><code>integer</code><br>$time</dd>
					<dt><var>$path</var></dt>
					<dd><code>string</code><br>$path</dd>
					<dt><var>$domaine</var></dt>
					<dd><code>string</code><br>$domaine</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>boolean</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="deleteCookie" id="_deleteCookie">

		<td class="attributes"><code>
			 public static
			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_deleteCookie">#</a>
		<code><a href="source-class-session.html#72-85" title="Go to source code">deleteCookie</a>( <span>string <var>$varName</var></span>, <span>string <var>$path</var> = <span class="php-quote">'/'</span></span>, <span>string <var>$domaine</var> = <span class="php-quote">''</span></span> )</code>

		<div class="description short">
			
<p>détruit un cookie</p>

		</div>

		<div class="description detailed hidden">
			
<p>détruit un cookie</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$varName</var></dt>
					<dd><code>string</code><br>$varName</dd>
					<dt><var>$path</var></dt>
					<dd><code>string</code><br>$path</dd>
					<dt><var>$domaine</var></dt>
					<dd><code>string</code><br>$domaine</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>boolean</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	</table>












	<table class="summary" id="properties">
	<caption>Properties summary</caption>
	<tr data-order="_sessid" id="$_sessid">
		<td class="attributes"><code>
			private static 
			mixed
		</code></td>

		<td class="name">
				<a href="source-class-session.html#9" title="Go to source code"><var>$_sessid</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$_sessid" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	</table>






</div>

	<div id="footer">
		pwe-project API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
	</div>
</div>
</div>
</body>
</html>
